#include "StringSample.h"


CStringSample::CStringSample()
{

}


CStringSample::~CStringSample()
{
	int i = 0;
}

CBaseSample * CStringSample::CreateInstance()
{
	return new CStringSample();
}

void CStringSample::SetPayload(char *pszPayload)
{
	m_strPayload = pszPayload;
}

void CStringSample::SetPayload(char *pszPayload, unsigned int nLen)
{
	m_strPayload = std::string(pszPayload, nLen);
}

std::string & CStringSample::GetPayload()
{
	return m_strPayload;
}
